NOTE: This Technical Q&A has been retired. Please see the Technical Q&As page for current documentation.

Technical Q&A TB51
Desk Accessory Menus


Q: How do I detect that a menu belongs to a Desk Accessory (DA)?

A: Wow! Your app still supports desk accessories? What a trooper you are. You can detect that a menu belongs to a DA by checking its menu ID; if the ID is less than 0, it belongs to a DA (or other driver).

Further Reference:

Inside Macintosh: Menu Manager
Inside Macintosh: Device Manager

[Dec 22 1998]


Developer Documentation | Technical Notes | Development Kits | Sample Code